//
//  LPMyLotteryController.m
//  彩票
//
//  Created by liupan on 2016/11/25.
//  Copyright © 2016年 liupan. All rights reserved.
//

#import "LPMyLotteryController.h"
#import "LPSettingController.h"
@interface LPMyLotteryController ()

@end

@implementation LPMyLotteryController

- (void)viewDidLoad {
    [super viewDidLoad];
    UIButton *button=[[UIButton alloc]init];
    [button setImage:[UIImage imageWithOriginalRenderingimage:@"Mylottery_config"] forState:UIControlStateNormal];
    [button sizeToFit];
    [button addTarget:self action:@selector(setting) forControlEvents:UIControlEventTouchUpInside];
    self.navigationItem.rightBarButtonItem=[[UIBarButtonItem alloc]initWithCustomView:button];
}
- (void)setting{

    [self.navigationController pushViewController:[[LPSettingController alloc]init] animated:YES];
}
@end
